package com.zhangxi.websqlit.mybatis.entity;

import com.zhangxi.websqlit.mybatis.annotation.Columns;

/**
 * 文件信息
 */
public class PtFileEntity {
    /**
     * 文件id
     */
    @Columns("file_uuid")
    private String fileUuid;
    /**
     * 文件父Id
     */
    @Columns("parent_uuid")
    private String parentUuid;

    /**
     * 文件名
     */
    @Columns("file_name")
    private String fileName;
    /**
     * 文件类型 0:文件 1：文件夹
     */
    @Columns("file_type")
    private Integer fileType = 0;
    /**
     * 文件容量，单位字节
     */
    @Columns("file_capacity")
    private String fileCapacity;
    /**
     * 文件路径
     */
    @Columns("file_path")
    private String filePath;
    /**
     * 修改时间
     */
    @Columns("modtime")
    private String modtime;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public String getFileCapacity() {
        return fileCapacity;
    }

    public void setFileCapacity(String fileCapacity) {
        this.fileCapacity = fileCapacity;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getModtime() {
        return modtime;
    }

    public void setModtime(String modtime) {
        this.modtime = modtime;
    }

    public String getFileUuid() {
        return fileUuid;
    }

    public void setFileUuid(String fileUuid) {
        this.fileUuid = fileUuid;
    }

    public String getParentUuid() {
        return parentUuid;
    }

    public void setParentUuid(String parentUuid) {
        this.parentUuid = parentUuid;
    }

    @Override
    public String toString() {
        return "PtFileEntity{" +
                "fileUuid='" + fileUuid + '\'' +
                ", parentUuid='" + parentUuid + '\'' +
                ", fileName='" + fileName + '\'' +
                ", fileType=" + fileType +
                ", fileCapacity='" + fileCapacity + '\'' +
                ", filePath='" + filePath + '\'' +
                ", modtime='" + modtime + '\'' +
                '}';
    }
}
